package com.gopay.common.domain.bis;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

import com.gopay.common.domain.BaseEntity;

/**
 * 
 * @BaseBisBankBizProd.java
 * @author yaobo
 * @2013-11-6 上午09:31:32 www.gopay.com.cn Inc.All rights reserved.
 */
@MappedSuperclass
public class BaseBisBankBizProd extends BaseEntity {

    /**
     * 
     */
    private static final long serialVersionUID = 3585178412033356829L;

    @Column(name = "BANK_BIZ_PROD_CODE")
    private String bankBizProdCode;

    /**
     * 是否可用
     * 
     * 0 - 不可用 1 - 可用
     */
    @Column(name = "ENABLE", nullable = false, precision = 2, scale = 1)
    private boolean enable;

    @Column(name = "CREATED_TS")
    private Date created;

    @Column(name = "LAST_UPD_TS")
    private Date modified;

    @Column(name = "LAST_UPD_TRANCODE")
    private String lastUpdTranCode;

	public String getBankBizProdCode() {
		return bankBizProdCode;
	}

	public void setBankBizProdCode(String bankBizProdCode) {
		this.bankBizProdCode = bankBizProdCode;
	}

	public boolean isEnable() {
		return enable;
	}

	public void setEnable(boolean enable) {
		this.enable = enable;
	}

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	public Date getModified() {
		return modified;
	}

	public void setModified(Date modified) {
		this.modified = modified;
	}

	public String getLastUpdTranCode() {
		return lastUpdTranCode;
	}

	public void setLastUpdTranCode(String lastUpdTranCode) {
		this.lastUpdTranCode = lastUpdTranCode;
	}
}
